find_package(Hiredis)
add_library(Hiredis INTERFACE)
target_link_libraries(Hiredis
    INTERFACE
    ${HIREDIS_LIBRARIES})
target_include_directories(Hiredis
    INTERFACE
    ${HIREDIS_INCLUDE_DIRS}
    ${HIREDIS_INCLUDE_DIRS}/..)

message("HIREDIS_INCLUDE_DIRS=" ${HIREDIS_INCLUDE_DIRS})
message("HIREDIS_LIBRARIES=" ${HIREDIS_LIBRARIES})